FROM node:18

WORKDIR /app

RUN corepack enable pnpm

COPY package.json ./
COPY pnpm-lock.yaml ./

RUN pnpm install

EXPOSE 9622

CMD [ "pnpm", "dev" ]
